import Http from "@/api/http";

export const getTreeList = function() {
    return Http.get('/organization/getTreeList')
}

//查询所有学院
export const getCollegeList = function() {
    return Http.get('/organization/getCollegeList')
}

//添加左侧
export const treeInsert = function(paramData: any) {
    return Http.post('/organization/insert',paramData)
}

//查询右侧的用户
export const getPage = function(paramData: any) {
    return Http.get('/user/getPage',paramData)
}